﻿using System;
using System.Collections.Generic;

namespace NetTopologySuite.Noding
{
	public abstract class SinglePassNoder : INoder
	{
		protected SinglePassNoder()
		{
		}

		protected SinglePassNoder(ISegmentIntersector segInt)
		{
			this.SegmentIntersector = segInt;
		}

		public ISegmentIntersector SegmentIntersector { get; set; }

		public abstract void ComputeNodes(IList<ISegmentString> segStrings);

		public abstract IList<ISegmentString> GetNodedSubstrings();
	}
}
